package com.hry.store.dao;

import com.hry.store.pojo.ProductVersion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductVersionMapper {
    int deleteByPrimaryKey(Integer versionId);

    int insert(ProductVersion record);

    int insertSelective(ProductVersion record);

    ProductVersion selectByPrimaryKey(Integer versionId);

    int updateByPrimaryKeySelective(ProductVersion record);

    int updateByPrimaryKey(ProductVersion record);

    List<ProductVersion> getProductVersionByProductId(Integer secondCategoryId);
}